﻿<Activity x:Class="GenerateDatabaseScriptWorkflow"
          xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:s="clr-namespace:System;assembly=mscorlib"
          xmlns:sde="clr-namespace:System.Data.Entity.Core.Metadata.Edm;assembly=EntityFramework"
          xmlns:edm="clr-namespace:Microsoft.Data.Entity.Design.DatabaseGeneration.Activities;assembly=Microsoft.Data.Entity.Design.DatabaseGeneration"
          xmlns:edm1="clr-namespace:Microsoft.Data.Entity.Design.DatabaseGeneration.Activities;assembly=Microsoft.Data.Entity.Design">
    <x:Members>
        <x:Property Name="Csdl" Type="InArgument(sde:EdmItemCollection)" />
        <x:Property Name="ExistingSsdl" Type="InArgument(s:String)" />
        <x:Property Name="ExistingMsl" Type="InArgument(s:String)" />
        <x:Property Name="Ssdl" Type="OutArgument(s:String)" />
        <x:Property Name="Msl" Type="OutArgument(s:String)" />
        <x:Property Name="Ddl" Type="OutArgument(s:String)" />
    </x:Members>
    <Sequence>
        <edm:CsdlToSsdlAndMslActivity CsdlInput="[Csdl]"
                                      SsdlOutput="[Ssdl]"
                                      MslOutput="[Msl]"
                                      OutputGeneratorType="Microsoft.Data.Entity.Design.DatabaseGeneration.OutputGenerators.CsdlToSsdl, Microsoft.Data.Entity.Design.DatabaseGeneration"
                                      MslOutputGeneratorType="Microsoft.Data.Entity.Design.DatabaseGeneration.OutputGenerators.CsdlToMsl, Microsoft.Data.Entity.Design.DatabaseGeneration" />
        <edm1:SsdlToDdlActivity ExistingSsdlInput="[ExistingSsdl]"
                                SsdlInput="[Ssdl]"
                                DdlOutput="[Ddl]" />
    </Sequence>
</Activity>